Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001091/0.001091, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001466/0.001466, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.551/2.551, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 15.92 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7211, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01049/0.7316, allocations: 9.793 MB / 0.9907 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.7437, allocations: 8.185 MB / 0.9987 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.7453, allocations: 47.69 kB / 0.9987 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009188/0.7462, allocations: 269.8 kB / 0.999 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.7511, allocations: 1.26 MB / 1 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.753, allocations: 474.2 kB / 1.001 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003124/0.7561, allocations: 2.442 MB / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.7592, allocations: 1.777 MB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.7608, allocations: 0.7935 MB / 1.006 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.7623, allocations: 0.9027 MB / 1.006 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.7624, allocations: 60 kB / 1.007 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.7635, allocations: 463.4 kB / 1.007 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.764, allocations: 478.4 kB / 1.007 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.7643, allocations: 336.8 kB / 1.008 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.7661, allocations: 1.963 MB / 1.01 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7662, allocations: 0 / 1.01 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7662, allocations: 0 / 1.01 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.404e-05/0.7662, allocations: 0 / 1.01 GB, free: 8.902 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002588/0.7688, allocations: 1.726 MB / 1.011 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7688, allocations: 8.031 kB / 1.011 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.769, allocations: 189.9 kB / 1.012 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00957/0.7786, allocations: 2.116 MB / 1.014 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.7806, allocations: 1.079 MB / 1.015 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.7806, allocations: 90.31 kB / 1.015 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.7809, allocations: 123.8 kB / 1.015 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/0.7857, allocations: 2.486 MB / 1.017 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.7858, allocations: 11.94 kB / 1.017 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.7859, allocations: 51.98 kB / 1.017 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002992/0.7862, allocations: 126.1 kB / 1.017 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006179/0.7924, allocations: 2.584 MB / 1.02 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.8047, allocations: 10.1 MB / 1.03 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.81, allocations: 1.999 MB / 1.032 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/0.8124, allocations: 0.9933 MB / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.8125, allocations: 16.34 kB / 1.033 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.8125, allocations: 39 kB / 1.033 GB, free: 188 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.8125, allocations: 0 / 1.033 GB, free: 188 kB / 0.7794 GB Notification: Performance of matching and sorting (n=81): time 0.02734/0.8399, allocations: 8.785 MB / 1.041 GB, free: 7.332 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.84, allocations: 60.06 kB / 1.041 GB, free: 7.262 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.8414, allocations: 1.077 MB / 1.043 GB, free: 6.168 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.8416, allocations: 41.7 kB / 1.043 GB, free: 6.121 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.8421, allocations: 0.7456 MB / 1.043 GB, free: 5.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.8424, allocations: 276 kB / 1.044 GB, free: 5.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.8425, allocations: 16 kB / 1.044 GB, free: 5.078 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8426, allocations: 341.9 kB / 1.044 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.8451, allocations: 1.095 MB / 1.045 GB, free: 3.645 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.8478, allocations: 1.325 MB / 1.046 GB, free: 2.227 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.8503, allocations: 1.15 MB / 1.047 GB, free: 1.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8504, allocations: 0 / 1.047 GB, free: 1.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007923/0.8583, allocations: 3.304 MB / 1.051 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.8584, allocations: 8 kB / 1.051 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8584, allocations: 8 kB / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.8609, allocations: 0.7878 MB / 1.051 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.8626, allocations: 431.2 kB / 1.052 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.8783, allocations: 14.67 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.8806, allocations: 299.6 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.8809, allocations: 51.97 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.882, allocations: 413.3 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.8824, allocations: 138.3 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/0.8905, allocations: 3.245 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.8905, allocations: 8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/0.8906, allocations: 8 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.8906, allocations: 7.922 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.9016, allocations: 4.924 MB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.9017, allocations: 7.953 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.9032, allocations: 367.7 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/0.9055, allocations: 0.7053 MB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.9056, allocations: 27.97 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.9205, allocations: 14.32 MB / 1.09 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.9206, allocations: 4 kB / 1.09 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/0.9281, allocations: 3.081 MB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/0.9291, allocations: 379.2 kB / 1.093 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/0.9296, allocations: 20 kB / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.9314, allocations: 299.5 kB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.9317, allocations: 84.45 kB / 1.094 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9318, allocations: 39.95 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001212/0.933, allocations: 0.721 MB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.933, allocations: 0 / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001745/0.9348, allocations: 432 kB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007715/0.9425, allocations: 3.651 MB / 1.099 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007775/0.9503, allocations: 3.656 MB / 1.102 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.9504, allocations: 7.938 kB / 1.102 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/0.9552, allocations: 2.379 MB / 1.104 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.9586, allocations: 495.1 kB / 1.105 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.9844, allocations: 11.98 MB / 1.117 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.9855, allocations: 1.395 MB / 1.118 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001716/0.9873, allocations: 375.9 kB / 1.118 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/0.9881, allocations: 0.5969 MB / 1.119 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/0.9881, allocations: 0 / 1.119 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07037/1.058, allocations: 40.28 MB / 1.158 GB, free: 12.84 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.059, allocations: 212.2 kB / 1.158 GB, free: 12.6 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.773, allocations: 0 / 1.158 GB, free: 12.6 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat