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.001138/0.001143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.66/1.66, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001534/0.001535, allocations: 67.61 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.229, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004998/0.234, allocations: 3.759 MB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.2369, allocations: 1.833 MB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2371, allocations: 15.88 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.2379, allocations: 261.7 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006076/0.2385, allocations: 298.4 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.2391, allocations: 247.5 kB / 0.7897 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.2398, allocations: 0.601 MB / 0.7903 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.2402, allocations: 262.5 kB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.2405, allocations: 239 kB / 0.7908 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.2408, allocations: 231 kB / 0.791 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.2408, allocations: 28 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.2413, allocations: 275.4 kB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2414, allocations: 123.6 kB / 0.7914 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.2416, allocations: 214.8 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006177/0.2422, allocations: 0.5726 MB / 0.7922 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2422, allocations: 4 kB / 0.7922 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2423, allocations: 0 / 0.7922 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2423, allocations: 4 kB / 0.7922 GB, free: 4.391 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.001096/0.2434, allocations: 0.7322 MB / 0.7929 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2434, allocations: 12.03 kB / 0.7929 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.2435, allocations: 74.7 kB / 0.793 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/0.2444, allocations: 136.2 kB / 0.7931 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.2448, allocations: 375.6 kB / 0.7935 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2448, allocations: 21.03 kB / 0.7935 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.2449, allocations: 32.36 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.2457, allocations: 0.561 MB / 0.7941 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2457, allocations: 7.906 kB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.2458, allocations: 15.94 kB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.2458, allocations: 40.53 kB / 0.7941 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.2465, allocations: 409.7 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.2492, allocations: 3.334 MB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.2498, allocations: 338.4 kB / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2501, allocations: 183.6 kB / 0.7983 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2502, allocations: 4 kB / 0.7983 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2502, allocations: 38.5 kB / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.2502, allocations: 0 / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.001975/0.2522, allocations: 1.055 MB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2522, allocations: 59.62 kB / 0.7994 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.2526, allocations: 337.6 kB / 0.7997 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2526, allocations: 29.7 kB / 0.7998 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2528, allocations: 243.5 kB / 0.8 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.2528, allocations: 98.64 kB / 0.8001 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.253, allocations: 78.03 kB / 0.8002 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2531, allocations: 346.8 kB / 0.8005 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2534, allocations: 144.8 kB / 0.8006 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.2538, allocations: 298.5 kB / 0.8009 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.2544, allocations: 484.8 kB / 0.8014 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2544, allocations: 4 kB / 0.8014 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009239/0.2554, allocations: 0.5585 MB / 0.8019 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2554, allocations: 16.08 kB / 0.8019 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2554, allocations: 4 kB / 0.8019 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.2557, allocations: 86.45 kB / 0.802 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.256, allocations: 87.88 kB / 0.8021 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.2561, allocations: 15.88 kB / 0.8021 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.2563, allocations: 23.97 kB / 0.8021 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.2564, allocations: 20 kB / 0.8022 GB, free: 9.473 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.2566, allocations: 186.9 kB / 0.8023 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.2566, allocations: 35.53 kB / 0.8024 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.2575, allocations: 464 kB / 0.8028 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2575, allocations: 8 kB / 0.8028 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2575, allocations: 0 / 0.8028 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2575, allocations: 0 / 0.8028 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2589, allocations: 0.9637 MB / 0.8038 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2589, allocations: 4.031 kB / 0.8038 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.2592, allocations: 47.95 kB / 0.8038 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.2594, allocations: 86.39 kB / 0.8039 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2594, allocations: 11.92 kB / 0.8039 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.2595, allocations: 4 kB / 0.8039 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2595, allocations: 0 / 0.8039 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.2603, allocations: 0.5468 MB / 0.8044 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2605, allocations: 136.6 kB / 0.8046 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.2605, allocations: 12 kB / 0.8046 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2607, allocations: 23.91 kB / 0.8046 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.2608, allocations: 23.97 kB / 0.8046 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2609, allocations: 4 kB / 0.8046 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002406/0.2611, allocations: 239.1 kB / 0.8049 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2611, allocations: 0 / 0.8049 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000436/0.2616, allocations: 88 kB / 0.8049 GB, free: 6.457 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.2628, allocations: 1.086 MB / 0.806 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2639, allocations: 0.6783 MB / 0.8067 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.2639, allocations: 4.125 kB / 0.8067 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.2644, allocations: 433.7 kB / 0.8071 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.2652, allocations: 132.7 kB / 0.8072 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.2701, allocations: 3.73 MB / 0.8109 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.2705, allocations: 0.8309 MB / 0.8117 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002785/0.2708, allocations: 75.36 kB / 0.8117 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.271, allocations: 127.4 kB / 0.8119 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.271, allocations: 0 / 0.8119 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.2976, allocations: 8.189 MB / 0.8199 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.618/9.916, allocations: 7.531 kB / 0.8199 GB, free: 6.938 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/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)