Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 90.91 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.911/1.911, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005481/0.0005482, allocations: 13.75 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2762, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004614/0.2808, allocations: 3.27 MB / 0.7906 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.2848, allocations: 1.713 MB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007061/0.2856, allocations: 15.88 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.286, allocations: 63.44 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.2874, allocations: 226.8 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.2883, allocations: 187.6 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.2895, allocations: 0.6361 MB / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009928/0.2905, allocations: 330.5 kB / 0.7937 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.2912, allocations: 191.1 kB / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.2917, allocations: 227.1 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.2918, allocations: 16 kB / 0.7941 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.2923, allocations: 135.8 kB / 0.7942 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.2924, allocations: 107.6 kB / 0.7943 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2926, allocations: 93.52 kB / 0.7944 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.2932, allocations: 431.2 kB / 0.7948 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2932, allocations: 7.875 kB / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2932, allocations: 0 / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.2933, allocations: 0 / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001313/0.2946, allocations: 0.67 MB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2946, allocations: 8.031 kB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.2948, allocations: 74.5 kB / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009297/0.2957, allocations: 139.3 kB / 0.7957 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.2963, allocations: 366.5 kB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2963, allocations: 20.66 kB / 0.7961 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.2964, allocations: 35.92 kB / 0.7961 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.2972, allocations: 0.5515 MB / 0.7966 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2973, allocations: 0 / 0.7966 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2973, allocations: 12 kB / 0.7967 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.2974, allocations: 44.53 kB / 0.7967 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.2981, allocations: 417.7 kB / 0.7971 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.3011, allocations: 3.333 MB / 0.8004 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.3017, allocations: 339.3 kB / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.3021, allocations: 188.7 kB / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3021, allocations: 0 / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3021, allocations: 38.56 kB / 0.8009 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.3021, allocations: 4 kB / 0.8009 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002066/0.3042, allocations: 1.077 MB / 0.802 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3043, allocations: 55.64 kB / 0.802 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3046, allocations: 341.5 kB / 0.8023 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3047, allocations: 25.7 kB / 0.8024 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3048, allocations: 247.5 kB / 0.8026 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.3049, allocations: 102.6 kB / 0.8027 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.305, allocations: 11.94 kB / 0.8027 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3051, allocations: 346.8 kB / 0.803 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3054, allocations: 152.8 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3057, allocations: 299 kB / 0.8035 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.306, allocations: 191.9 kB / 0.8036 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3061, allocations: 7.984 kB / 0.8037 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009521/0.307, allocations: 0.5655 MB / 0.8042 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3071, allocations: 8 kB / 0.8042 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3071, allocations: 4.562 kB / 0.8042 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.3074, allocations: 90.52 kB / 0.8043 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.3078, allocations: 95.81 kB / 0.8044 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.3078, allocations: 4 kB / 0.8044 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.3081, allocations: 27.97 kB / 0.8044 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3081, allocations: 20 kB / 0.8044 GB, free: 9.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.3083, allocations: 185.6 kB / 0.8046 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.3084, allocations: 39.53 kB / 0.8047 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.3093, allocations: 468.5 kB / 0.8051 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3093, allocations: 11.95 kB / 0.8051 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3094, allocations: 0 / 0.8051 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3094, allocations: 3.984 kB / 0.8051 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3109, allocations: 0.9577 MB / 0.8061 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3109, allocations: 3.984 kB / 0.8061 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.3111, allocations: 55.91 kB / 0.8061 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.3114, allocations: 82.59 kB / 0.8062 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3114, allocations: 8 kB / 0.8062 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.3114, allocations: 3.938 kB / 0.8062 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3114, allocations: 4 kB / 0.8062 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.3123, allocations: 0.5586 MB / 0.8068 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.3125, allocations: 140.6 kB / 0.8069 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3126, allocations: 8 kB / 0.8069 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.3128, allocations: 27.97 kB / 0.8069 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.3129, allocations: 19.97 kB / 0.8069 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.313, allocations: 8 kB / 0.8069 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002574/0.3132, allocations: 235.2 kB / 0.8072 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3132, allocations: 0 / 0.8072 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004733/0.3137, allocations: 88 kB / 0.8073 GB, free: 6.652 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.3149, allocations: 1.096 MB / 0.8083 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.3158, allocations: 0.6421 MB / 0.809 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3158, allocations: 1.188 kB / 0.809 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.3163, allocations: 455.2 kB / 0.8094 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.317, allocations: 119.9 kB / 0.8095 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.321, allocations: 2.362 MB / 0.8118 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3214, allocations: 0.8234 MB / 0.8126 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.3217, allocations: 79.34 kB / 0.8127 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.3219, allocations: 135.4 kB / 0.8128 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.3219, allocations: 0 / 0.8128 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.3446, allocations: 7.816 MB / 0.8204 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.3449, allocations: 223.8 kB / 0.8207 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.376, allocations: 4.062 kB / 0.8207 GB, free: 8.816 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: