Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001134/0.001134, allocations: 98.22 kB / 16.27 MB, free: 5.965 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.001198/0.001198, allocations: 192.6 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3035, allocations: 77.92 MB / 0.5673 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006226/0.3098, allocations: 6.057 MB / 0.5732 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.314, allocations: 3.143 MB / 0.5763 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.3144, allocations: 29.47 kB / 0.5763 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.3164, allocations: 0.9371 MB / 0.5772 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.3173, allocations: 472.8 kB / 0.5777 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3185, allocations: 496.1 kB / 0.5781 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000921/0.3194, allocations: 1.092 MB / 0.5792 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.3202, allocations: 0.6416 MB / 0.5798 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.3206, allocations: 428.3 kB / 0.5802 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.3211, allocations: 478 kB / 0.5807 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.3212, allocations: 57.91 kB / 0.5808 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.3219, allocations: 488.2 kB / 0.5812 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.3221, allocations: 294.5 kB / 0.5815 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3224, allocations: 397.4 kB / 0.5819 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.3233, allocations: 1.163 MB / 0.583 GB, free: 22.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3233, allocations: 0 / 0.583 GB, free: 22.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3233, allocations: 0 / 0.583 GB, free: 22.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3234, allocations: 0 / 0.583 GB, free: 22.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001187/0.3246, allocations: 1.051 MB / 0.584 GB, free: 22.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3246, allocations: 11.03 kB / 0.5841 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.098e-05/0.3247, allocations: 113.1 kB / 0.5842 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3261, allocations: 221.7 kB / 0.5844 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.3266, allocations: 0.53 MB / 0.5849 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3267, allocations: 49.36 kB / 0.5849 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.3268, allocations: 65.7 kB / 0.585 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.3278, allocations: 1.03 MB / 0.586 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3278, allocations: 17.25 kB / 0.586 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.3279, allocations: 28.11 kB / 0.5861 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-05/0.328, allocations: 74.88 kB / 0.5861 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008324/0.3288, allocations: 0.6919 MB / 0.5868 GB, free: 20.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.332, allocations: 5.741 MB / 0.5924 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.3327, allocations: 0.606 MB / 0.593 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.3334, allocations: 415.6 kB / 0.5934 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3335, allocations: 11.92 kB / 0.5934 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3335, allocations: 36.31 kB / 0.5934 GB, free: 14.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.923e-06/0.3335, allocations: 0 / 0.5934 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003708/0.3372, allocations: 2.046 MB / 0.5954 GB, free: 12.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.3372, allocations: 56.22 kB / 0.5955 GB, free: 12.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.3376, allocations: 461.3 kB / 0.5959 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3376, allocations: 40.11 kB / 0.596 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3378, allocations: 388.1 kB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.3378, allocations: 153.8 kB / 0.5965 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.338, allocations: 117.8 kB / 0.5966 GB, free: 11.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.338, allocations: 359.7 kB / 0.5969 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.3383, allocations: 249.1 kB / 0.5972 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.3386, allocations: 457 kB / 0.5976 GB, free: 10.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.3392, allocations: 0.7558 MB / 0.5984 GB, free: 9.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3393, allocations: 0 / 0.5984 GB, free: 9.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001396/0.3407, allocations: 1.066 MB / 0.5994 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3407, allocations: 8.125 kB / 0.5994 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3407, allocations: 12 kB / 0.5994 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/0.3416, allocations: 327.1 kB / 0.5997 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3418, allocations: 107.8 kB / 0.5998 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/0.3465, allocations: 7.514 MB / 0.6072 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.3468, allocations: 35.97 kB / 0.6072 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.3468, allocations: 24 kB / 0.6072 GB, free: 324 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.3471, allocations: 249.5 kB / 0.6075 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.3471, allocations: 59.34 kB / 0.6075 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.3487, allocations: 0.9039 MB / 0.6084 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3487, allocations: 4 kB / 0.6084 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3487, allocations: 4 kB / 0.6084 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3487, allocations: 11.92 kB / 0.6084 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3511, allocations: 1.705 MB / 0.6101 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3511, allocations: 3.938 kB / 0.6101 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.3513, allocations: 39.97 kB / 0.6101 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/0.3522, allocations: 327.2 kB / 0.6104 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.3522, allocations: 12 kB / 0.6105 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006327/0.3585, allocations: 7.524 MB / 0.6178 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-05/0.3586, allocations: 7.938 kB / 0.6178 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.3602, allocations: 1.007 MB / 0.6188 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.3604, allocations: 176.3 kB / 0.619 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.3605, allocations: 12 kB / 0.619 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3608, allocations: 19.97 kB / 0.619 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.3609, allocations: 39.95 kB / 0.619 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.3609, allocations: 12 kB / 0.619 GB, free: 3.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.3612, allocations: 306.8 kB / 0.6193 GB, free: 3.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3612, allocations: 0 / 0.6193 GB, free: 3.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007063/0.362, allocations: 196 kB / 0.6195 GB, free: 2.969 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.3637, allocations: 1.563 MB / 0.621 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.3655, allocations: 1.238 MB / 0.6223 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3655, allocations: 0 / 0.6223 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.3667, allocations: 0.8618 MB / 0.6231 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3677, allocations: 209 kB / 0.6233 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.3759, allocations: 5.968 MB / 0.6291 GB, free: 8.648 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.3764, allocations: 0.9881 MB / 0.6301 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.3767, allocations: 105.2 kB / 0.6302 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.377, allocations: 227.4 kB / 0.6304 GB, free: 7.309 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.377, allocations: 0 / 0.6304 GB, free: 7.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5687/0.9457, allocations: 15.16 MB / 0.6452 GB, free: 8.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.676/9.622, allocations: 3.984 kB / 0.6452 GB, free: 8.41 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)